doctype html
html
  head
    meta charset="utf-8"
    meta name="viewport" content="width=device-width, initial-scale=1.0" 
    title
      - if content_for?(:title)
        = yield(:title) + " | " + " 后台 - " + Setting.site_name
      - else
        = "后台 - " +  Setting.site_name
    = stylesheet_link_tag "application", media: "all"
    = javascript_include_tag "vendor/modernizr"
    = javascript_include_tag "application"
    = csrf_meta_tags
  body
    header
      = render 'layouts/admin/navigation'
    main role="main" 
      .dashboard
        = render 'layouts/flashes'
        = yield
      = render 'layouts/foot'
